#FROM livingobjects/jre8
#VOLUME /tmp
#
## 修改容器时区为北京时间
#RUN apk --no-cache add tzdata  && \
#    ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
#    echo "Asia/Shanghai" > /etc/timezone
#
#ADD turing-center.jar app.jar
#RUN bash -c 'touch /app.jar'
#ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
FROM java:8
MAINTAINER wuxw
VOLUME /tmp
ADD turing-eureka.jar app.jar
# RUN bash -c 'touch /root/app.jar'
EXPOSE 8760
ENTRYPOINT ["java", "-Xmx512m","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]